﻿/**
* ...
* @author Default
* @version 0.1
*/

package bdz.common.utils{
	import flash.text.*;
	
	public class StringUtils {
		public static function stripHTMLTag(str:String):String{
			var tmp:TextField = new TextField();
			tmp.htmlText = str;
			return tmp.text;
		}
		public static function stripLineBreaks(str:String):String {
			
			return str.split("\n").join(" ");
		}
	}
	
}